package com.vgemv.jsutilitysdkdemo.module.List.ExtendContent;

import android.view.ViewGroup;

import com.vgemv.jsutilitysdk.geometry.JsGeometryManager;
import com.vgemv.jsutilitysdk.Menu.JsMenuView.JsMenuItemVm.JsMenuItemVm;

public class ExtentContentItemViewVm extends JsMenuItemVm {

    public static int itemViewHeight = 350;
    public static int itemViewParentHPadding = 0;

    public static int contentTopPadding = 60;
    public static int contentLeftPadding = 30;
    public static int contentImageViewSpacing = 60;
    public static int contentLogoSpacing = 30;

    public static int logoSize = 50;
    public static int logoBottomPadding = 30;
    public static int logoTimeSpacing = 30;

    public static int imageViewRightPadding = 60;
    public static int imageViewHeight =(int) (itemViewHeight - contentTopPadding - logoBottomPadding);
    public static int imageViewWidth = imageViewHeight /9 * 16;

    public static int contextWidth = JsGeometryManager.getScreenSizeInPixel().getWidth() - imageViewWidth - imageViewRightPadding - contentLeftPadding - contentImageViewSpacing;
    public static int contextHeight = itemViewHeight - logoBottomPadding - logoSize - contentLogoSpacing - contentTopPadding;

    public ExtentContentModel model;


    public ExtentContentItemViewVm() {
        super(1);
        getUnselectedStyle().mi_cornerRadius = 0;
        getUnselectedStyle().mi_width = ViewGroup.LayoutParams.MATCH_PARENT;
        getUnselectedStyle().mi_height = itemViewHeight;
    }

}
